package core.communication.message;

import java.util.UUID;

public class VoteMessage extends Message {
	private static final long serialVersionUID = 1456366686606225450L;

	private String vote;
	private UUID registrationToken;
	private UUID voterToken;

	public VoteMessage(String vote, UUID registrationToken, UUID voterToken) {
		super();
		setPriority(MessagePriority.NORMAL);
		setMessageType(MessageType.Vote);
		setDirection(Direction.UP);
		this.vote = vote;
		this.registrationToken = registrationToken;
		this.voterToken = voterToken;
	}

	public String getVote() {
		return vote;
	}

	public UUID getRegistrationToken() {
		return registrationToken;
	}

	public UUID getVoterToken() {
		return voterToken;
	}
}
